package com.wwj.auction.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwj
 * @since 2022-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OfferRecord对象", description="")
public class OfferRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer shopId;

    @ApiModelProperty(value = "商品出价")
    private BigDecimal offerPrice;

    @ApiModelProperty(value = "出价的用户id")
    private Integer userId;

    @ApiModelProperty(value = "商品保证金")
    private BigDecimal earnestPrice;

    @ApiModelProperty(value = "出价时间")
    private LocalDateTime createTime;


}
